import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        int x1 = in.nextInt();
        int y1 = in.nextInt();
        int b1 = in.nextInt();
        int b2 = in.nextInt();
        int[][] Chessboard = new int[x1 + 1][y1 + 1];
        int x = searcher(Chessboard,x1,y1,b1,b2,0,0);
    }

    private static int searcher(int[][] Chessboard,int x1, int y1, int b1, int b2,int x2,int y2) {
        if(Chessboard[x1][y1] == )
    }

}